package com.example.njupt.okhttp.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Author:      mwang
 * Create Date: Created in 2021/5/31 15:32
 * Update Date:
 * Modified By:
 * Description:
 */
public class SourceEntity implements MultiItemEntity {

    public static final int SOURCE_TITLE = 1;
    public static final int SOURCE_CONTENT = 0;

    private int type = 0;
    private String name;
    private String teacher;
    private String brief;
    private int isDoing;
    private String progress;
    private String outline;

    public SourceEntity(String name, String teacher, String brief, int isDoing) {
        this.name = name;
        this.teacher = teacher;
        this.brief = brief;
        this.isDoing = isDoing;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public int getIsDoing() {
        return isDoing;
    }

    public void setIsDoing(int isDoing) {
        this.isDoing = isDoing;
    }

    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOutline() {
        return outline;
    }

    public void setOutline(String outline) {
        this.outline = outline;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
